feat(core): new (de)serialization methods#2121
Merged
Conversation
Contributor
Test Results 4 files ±0 4 suites ±0 3m 49s ⏱️ +16s Results for commit d6f8c91. ± Comparison against base commit e3216b6. This pull request removes 1 and adds 3 tests. Note that renamed tests count towards both.♻️ This comment has been updated with latest results. |
Collaborator
Code Coverage (Ubuntu)DetailsDiff against developResults for commit: d6f8c91 Minimum allowed coverage is ♻️ This comment has been updated with latest results |
Collaborator
Code Coverage (Windows)DetailsDiff against developResults for commit: d6f8c91 Minimum allowed coverage is ♻️ This comment has been updated with latest results |
e7fe946 to
c9fe073
Compare
c9fe073 to
37d25ce
Compare
anesson-cs
pushed a commit
that referenced
this pull request
Apr 17, 2026
cauriol
pushed a commit
that referenced
this pull request
Apr 23, 2026
jlahovnik
pushed a commit
that referenced
this pull request
Apr 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds new (de)serialization methods:
EOProduct.from_dict()EOProduct.from_file()SearchResult.from_dict()SearchResult.from_file()SearchResult.as_dict()If
dagparameter is passed to deserialization methods, they will try to register downloader using several import methods (from serialized, from eodag-server, from known provider, from unknown provider), like inEODataAccessGateway.import_stac_items.Serialize methods now accept a
skip_invalidparameter (Trueby default), to choose whether to skip properties whose values are not valid according to the STAC specification.Deprecated methods:
EOProduct.from_geojson()(usefrom_dictinstead)SearchResult.from_geojson()(usefrom_dictinstead)SearchResult.as_geojson_object()(useas_dictinstead)unregistered_product_from_itemmoved toeodag.utils.deserialize.